package com.though.weixin.soa;

import com.though.weixin.params.PayOrderParams;
import com.though.weixin.params.SendRedPackParams;

public class TestWeixin {

	public static void main(String[] args) {
//		PayOrderParams params = new PayOrderParams("test", "1", 20, "192.168.0.0", "http://localhost:8080");
        SendRedPackParams params = new SendRedPackParams("test4", "刘梦典我爱你！", "okq7t0SrIbSBojs9Bh6CmxzLMbWI", 100, 1, "感谢您参加本次活动，愿余生只爱你一个人！", "116.22.197.229", "猜灯谜抢红包活动", "猜越多得越多，快来抢！");
//		System.out.println(WeixinPay.sendRedPack(params));
        System.out.println(PublicInvoker.getInfo(PublicInvoker.accessToken(),"okq7t0SrIbSBojs9Bh6CmxzLMbWI"));
	}

}
